package test;

import java.util.ArrayList;

/**
 * @author briarbear
 * @blog https://briarbear.github.io
 * @date 2018-09-10 19:36
 */
public class T12 {

    private static int i = 1;
    static {
        i = 2;
    }

    public static int next(){
        return i++;
    }

    public static void main(String[] args) {
        int a[] = {1,2,3};
        int i[] = {1,2,3};
        a[1] = i[1] = 10;
        System.out.println(a[1]+" "+ i[1]);
    }
}
